<%@ page language="java" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<div align="center">
	<form id="alarm_serverEdit_editForm" method="post">
		<input hidden="true" name="id" readonly="readonly" />
		<table class="tableForm">
			<tr>
				<th style="width: 150px;">城市名称</th>
				<td><input name="serverName" class="easyui-validatebox"
					data-options="required:true" /></td>
				<th>监控URL</th>
				<td colspan="3"><input name="url" class="easyui-validatebox"
					data-options="required:true" style="width: 410px;" /></td>
			</tr>
			<tr>
				<th style="width: 80px">开启</th>
				<td><input id="flag" name="flag" class="easyui-switchbutton"
					checked></td>
				<th style="width: 120px;">请求方式</th>
				<td><select class="easyui-combobox"
					data-options="panelHeight:90" name="method" style="width: 100px;">
						<option value="0">GET</option>
						<option value="1">POST</option>
						<option value="2">PUT</option>
						<option value="3">DELETE</option>
				</select></td>
				<th style="width: 180px;">请求参数</th>
				<td><input name="params" class="easyui-validatebox"
					 /></td>
			</tr>
			<tr>
				<th style="width: 120px;">包含结果</th>
				<td><input name="respResult" class="easyui-validatebox" /></td>
				<th>非空字段</th>
				<td><input name="notNullField" class="easyui-validatebox"
					style="width: 120px;" /></td>
				<th>通知邮箱</th>
				<td><input name="noticeEmails" class="easyui-validatebox"
					data-options="required:true" style="width: 120px;" /></td>
			</tr>

			<tr>
				<th>邮箱主题</th>
				<td><input name="noticeEmailSubject" class="easyui-validatebox"
					data-options="required:true" style="width: 120px;" /></td>
				<th style="width: 120px;">最小失败次数</th>
				<td><input class="easyui-numberspinner" name="minFailureTimes"
					min="1" value="1" data-options="increment:1" style="width: 120px;"></input</td>
				<th>通知手机</th>
				<td><input name="noticePhones" /></td>
			</tr>
		</table>
	</form>
</div>